const enums = {
  //车辆类型(激活类型)
  vehicleType: {
    // userVehicle: {
    //   label: '用户车',
    //   value: 1,
    // },
    // testVehicle: {
    //   label: '试乘试驾车',
    //   value: 2,
    // },
    // showVehicle: {
    //   label: '展车',
    //   value: 3,
    // },
    bataVehicle: {
      label: '内部测试车',
      value: 4,
    },
    mediaVehicle: {
      label: '媒体车',
      value: 5,
    },
    qcVehicle: {
      label: '质检车',
      value: 6,
    },
  },
  //车辆激活状态
  enrollStatus: {
    unactivate: {
      label: '未激活',
      value: 0,
    },
    activate: {
      label: '已激活',
      value: 1,
    },
  },
  //锁车状态
  lockStatus: {
    unlock: {
      label: '解除锁车',
      value: 0,
    },
    lock: {
      label: '锁车',
      value: 1,
    },
  },
  //批量激活页面-审核状态
  reviewStatusMap: {
    saved: {
      label: '已保存',
      value: 0,
    },
    audit: {
      label: '审核中',
      value: 1,
    },
    pass: {
      label: '审核通过',
      value: 2,
    },
    noPass: {
      label: '审核不通过',
      value: 3,
    },
  },
  //批量激活页面-激活状态
  activeType: {
    logout: {
      label: '注销',
      value: 0,
    },
    success: {
      label: '成功',
      value: 1,
    },
    fail: {
      label: '失败',
      value: 2,
    },
    handing: {
      label: '进行中',
      value: 3,
    },
  },
  orgType: {
    mainEngine: {
      label: '主机厂',
      value: 1,
    },
    dealer: {
      label: '经销商',
      value: 2,
    },
    authOrg: {
      label: '商户',
      value: 3,
    },
  },
};

Object.keys(enums).forEach((e) => {
  enums[e].array = Object.values(enums[e]);
});

export default enums;
